package com.example.siyun.service.impl.permissionsserviceimpl;

import com.example.siyun.mapper.permissionsmapper.PeoperateLogMapper;
import com.example.siyun.pojo.PeoperateLog;
import com.example.siyun.service.permissionsservice.PeoperateLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
/**
 * @Auther: 全
 * @Date: 2022/9/26 09:33
 * @Description:权限管理模块操作日志
 */
@Service
public class PeoperateLogServiceImpl implements PeoperateLogService {
    @Autowired
    private PeoperateLogMapper peoperateLogMapper;
    /**
     * 获取操作日志的信息
     * @return 返回操作日志的信息
     */
    @Transactional
    @Override
    public List<PeoperateLog> getPeoperateLog(PeoperateLog peoperatelog,int isdel) {
        return peoperateLogMapper.getPeoperateLog(peoperatelog,isdel);
    }
}
